﻿using System;
using System.Collections.Generic;
using CVsharp.Models.Entities;

namespace CVsharp.Models.DAL.Account.Interface
{
    public interface IsysActionPermission
    {
        IList<sysActionPermission> GetAll();
        IList<sysActionPermission> GetByUser(Guid userId);
        IList<sysActionPermission> GetByRoid(string roleName);
        IList<sysActionPermission> GetByRoids(string[] roleNames);
        bool DoObject(sysActionPermission actionPermission);
        bool Add(sysActionPermission actionPermission);
        bool Delect(sysActionPermission actionPermission);
    }
}
